<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Gestion_Des_Inscriptions_Universitaires:  Fichier source de /home/omid/Bureau/projet/gestion-des-inscriptions-universitaires-version-finale/src/Enseignant.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Gestion_Des_Inscriptions_Universitaires</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&#160;associées</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li><a href="dirs.html"><span>Répertoires</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_enseignant_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Enseignant.h</div>  </div>
</div>
<div class="contents">
<a href="_enseignant_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef _ENSEIGNANT_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define _ENSEIGNANT_H</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a>00011 <span class="comment">/* ********************************************************************* */</span>
<a name="l00012"></a>00012 <span class="comment">/*                                                                       */</span>
<a name="l00013"></a>00013 <span class="comment">/*                       Librairies de Ens                                */</span>
<a name="l00014"></a>00014 <span class="comment">/*                                                                       */</span>
<a name="l00015"></a>00015 <span class="comment">/* ********************************************************************* */</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;assert.h&gt;</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &quot;<a class="code" href="_util_str_8h.html" title="Fichier d&#39;entête du module utilitaireString.">UtilStr.h</a>&quot;</span>
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="preprocessor">#include &quot;<a class="code" href="_chemin_8h.html">Chemin.h</a>&quot;</span>
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="comment">/* ********************************************************************* */</span>
<a name="l00026"></a>00026 <span class="comment">/*                                                                       */</span>
<a name="l00027"></a>00027 <span class="comment">/*                        Définitions de types                           */</span>
<a name="l00028"></a>00028 <span class="comment">/*                                                                       */</span>
<a name="l00029"></a>00029 <span class="comment">/* ********************************************************************* */</span>
<a name="l00030"></a>00030 
<a name="l00038"></a><a class="code" href="structs_enseignant.html">00038</a> <span class="keyword">struct </span><a class="code" href="structs_enseignant.html">sEnseignant</a>
<a name="l00039"></a>00039         {
<a name="l00040"></a><a class="code" href="structs_enseignant.html#ac831d4c46fbcc5d7e11d6736bf5f7fad">00040</a>             <span class="keywordtype">int</span> <a class="code" href="structs_enseignant.html#ac831d4c46fbcc5d7e11d6736bf5f7fad">numEns</a>;
<a name="l00041"></a><a class="code" href="structs_enseignant.html#ad5b6e7f13c50153ca1c08a3698234fa1">00041</a>                 <span class="keywordtype">char</span> * <a class="code" href="structs_enseignant.html#ad5b6e7f13c50153ca1c08a3698234fa1">nomEns</a>;
<a name="l00042"></a><a class="code" href="structs_enseignant.html#ad19c92247324e6b4790298b1da7d6de9">00042</a>                 <span class="keywordtype">char</span> *<a class="code" href="structs_enseignant.html#ad19c92247324e6b4790298b1da7d6de9">prenomEns</a>;
<a name="l00043"></a>00043         };
<a name="l00044"></a>00044 
<a name="l00049"></a><a class="code" href="_enseignant_8h.html#a98dabc0542f0ee2a9a0eb843a393ec8b">00049</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structs_enseignant.html">sEnseignant</a> <a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> ;
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 
<a name="l00059"></a><a class="code" href="structs_tab_enseignant.html">00059</a> <span class="keyword">struct </span><a class="code" href="structs_tab_enseignant.html" title="Structure utilisée pour la gestion d&#39;une Ens.">sTabEnseignant</a>
<a name="l00060"></a>00060 {
<a name="l00061"></a><a class="code" href="structs_tab_enseignant.html#a0bc31d909b605d22a67c387027bac69b">00061</a>     <a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> ** <a class="code" href="structs_tab_enseignant.html#a0bc31d909b605d22a67c387027bac69b">tabEns</a>;
<a name="l00062"></a><a class="code" href="structs_tab_enseignant.html#aa49f7153e8f5f65165f48ba72ad17724">00062</a>     <span class="keywordtype">int</span> <a class="code" href="structs_tab_enseignant.html#aa49f7153e8f5f65165f48ba72ad17724">nbEns</a>;
<a name="l00063"></a>00063 };
<a name="l00069"></a><a class="code" href="_enseignant_8h.html#abe5990d64ed61f489ffd5dbcc93c9d29">00069</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structs_tab_enseignant.html" title="Structure utilisée pour la gestion d&#39;une Ens.">sTabEnseignant</a>  <a class="code" href="structs_tab_enseignant.html" title="Structure utilisée pour la gestion d&#39;une Ens.">TabEnseignant</a>;
<a name="l00070"></a>00070 
<a name="l00082"></a>00082 <span class="keywordtype">void</span> <a class="code" href="_enseignant_8c.html#a404d70a15bcc7568eda2ed638207575a" title="Initialise un Ens. initEns initialise numEns, nomEns et prenomEns (après vérification) de la structur...">initEns</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> * enseignant, <span class="keyword">const</span> <span class="keywordtype">int</span> numEns,<span class="keyword">const</span> <span class="keywordtype">char</span> * nomEns,<span class="keyword">const</span> <span class="keywordtype">char</span> * prenom);
<a name="l00083"></a>00083 
<a name="l00093"></a>00093 <a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> *<a class="code" href="_enseignant_8c.html#a085c637029f5d332d247a1898cea9776" title="Crée un Ens en mémoire.">creEns</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numEns, <span class="keyword">const</span> <span class="keywordtype">char</span> *nomEns, <span class="keyword">const</span> <span class="keywordtype">char</span> *prenomEns);
<a name="l00094"></a>00094 
<a name="l00102"></a>00102 <span class="keywordtype">void</span> <a class="code" href="_enseignant_8c.html#a4ea1d0a6c8ab9a51e2ec5129308c19ca" title="Libere un Ens en mémoire.">libEns</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> *enseignant);
<a name="l00103"></a>00103 
<a name="l00111"></a>00111 <span class="keywordtype">void</span> <a class="code" href="_enseignant_8c.html#a6d0f4e6fe953d6ed6a0e877ec738a4cf">detEns</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> ** enseignant);
<a name="l00112"></a>00112 
<a name="l00113"></a>00113 <span class="comment">/* ******************************************************************** */</span>
<a name="l00114"></a>00114 <span class="comment">/*                                                                                                                                              */</span>
<a name="l00115"></a>00115 <span class="comment">/*           Accesseurs et Mutateurs de la structure Ens                */</span>
<a name="l00116"></a>00116 <span class="comment">/*                                                                                                                                              */</span>
<a name="l00117"></a>00117 <span class="comment">/* ******************************************************************** */</span>
<a name="l00118"></a>00118 
<a name="l00126"></a>00126 <span class="keywordtype">int</span> <a class="code" href="_enseignant_8c.html#a6918992fa178da768b77c1da09e5e026" title="rensrner numEns.">getNumEns</a>(<span class="keyword">const</span> <a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> *enseignant);
<a name="l00127"></a>00127 
<a name="l00136"></a>00136 <span class="keywordtype">void</span> <a class="code" href="_enseignant_8c.html#a812b325bb8e8d670f56bf3a390e5c094">setNumEns</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> *enseignant,<span class="keyword">const</span> <span class="keywordtype">int</span> numEns);
<a name="l00137"></a>00137 
<a name="l00146"></a>00146 <span class="keywordtype">char</span> * <a class="code" href="_enseignant_8c.html#ab91c01707864faa01b857d65002883e6" title="rensrner nomEns.">getNomEns</a>(<span class="keyword">const</span> <a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> *enseignant);
<a name="l00147"></a>00147 
<a name="l00156"></a>00156 <span class="keywordtype">void</span> <a class="code" href="_enseignant_8c.html#a3915a9ab52172ee9ee1a633ed4badee9" title="modifie le champ nomEns de l&#39;ens.">setNomEns</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> *enseignant,<span class="keyword">const</span> <span class="keywordtype">char</span> *nomEns);
<a name="l00157"></a>00157 
<a name="l00165"></a>00165 <span class="keywordtype">char</span> * <a class="code" href="_enseignant_8c.html#a527b0f30527ca7f46bc06e744f1321cf" title="rensrner nomEns.">getPrenomEns</a>(<span class="keyword">const</span> <a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> *enseignant);
<a name="l00166"></a>00166 
<a name="l00175"></a>00175 <span class="keywordtype">void</span> <a class="code" href="_enseignant_8c.html#a994b35b9b8e590fac23a538fc0b0ba20" title="modifie le champ nomEns de l&#39;ens.">setPrenomEns</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> *enseignant,<span class="keyword">const</span> <span class="keywordtype">char</span> *prenomEns);
<a name="l00176"></a>00176 
<a name="l00184"></a>00184 <span class="keywordtype">void</span> <a class="code" href="_enseignant_8c.html#a18764ee75bfd0b4951b9d040d51d95be" title="Afficher l&#39;ens.">affEns</a>(<span class="keyword">const</span> <a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> *enseignant);
<a name="l00185"></a>00185 
<a name="l00186"></a>00186 <span class="comment">/* ********************************************************************* */</span>
<a name="l00187"></a>00187 <span class="comment">/*                                                                       */</span>
<a name="l00188"></a>00188 <span class="comment">/*             Fonctions relatives aux gestiond&#39;Ens                       */</span>
<a name="l00189"></a>00189 <span class="comment">/*                                                                       */</span>
<a name="l00190"></a>00190 <span class="comment">/* ********************************************************************* */</span>
<a name="l00191"></a>00191 
<a name="l00202"></a>00202 <span class="keywordtype">void</span> <a class="code" href="_enseignant_8c.html#a2ab4ce856beb580e7ce67e649f60bf03" title="saover Ens dans un fichier binaire.">savEnsParElem</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numEns,<span class="keyword">const</span> <span class="keywordtype">char</span> * nomEns,<span class="keyword">const</span> <span class="keywordtype">char</span> * prenomEns);
<a name="l00203"></a>00203 
<a name="l00204"></a>00204 
<a name="l00213"></a>00213 <span class="keywordtype">void</span> <a class="code" href="_enseignant_8c.html#a54c3fe16627ec1a831b83274cae21a59" title="saover Ens dans un fichier binaire.">savEns</a>(<span class="keyword">const</span>   <a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a>*ens);
<a name="l00214"></a>00214 
<a name="l00224"></a>00224 <span class="keywordtype">int</span> <a class="code" href="_enseignant_8c.html#a632f01c0f8cb24bfb6f0dfe606009e38" title="recherche Ens dans un fichier binaire.">rchEnsParCode</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numEns);
<a name="l00225"></a>00225 
<a name="l00235"></a>00235 <a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> *<a class="code" href="_enseignant_8c.html#a9d60a0454904c6829d57acbaa74e9120" title="recupérer Ens dans un fichier binaire.">recEnsParCode</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numEns);
<a name="l00236"></a>00236 
<a name="l00246"></a>00246 <span class="keywordtype">int</span> <a class="code" href="_enseignant_8c.html#ab5ef61052bd2c3371bec218872ee0b0a" title="supprimer Ens dans un fichier binaire.">supEnsParCode</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numEns);
<a name="l00247"></a>00247 
<a name="l00257"></a>00257 <span class="keywordtype">int</span> <a class="code" href="_enseignant_8c.html#af15208b82bc4f0f644ac22ff41427c42" title="supprimer Ens dans un fichier binaire.">supEns</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a>  *ens);
<a name="l00258"></a>00258 
<a name="l00268"></a>00268 <span class="keywordtype">int</span> <a class="code" href="_enseignant_8c.html#a5babf2869108036ac9f42b8a699d1b7f" title="modifier Ens dans un fichier binaire.">mdfEnsParCode</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numEns, <span class="keyword">const</span> <a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> *ensew );
<a name="l00269"></a>00269 
<a name="l00279"></a>00279 <span class="keywordtype">int</span> <a class="code" href="_enseignant_8c.html#a028f97b75edc7583b80e240e39e35f33" title="modifier Ens dans un fichier binaire.">modifEns</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a>*ens,<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a>*ensnew);
<a name="l00280"></a>00280 
<a name="l00292"></a>00292 <span class="keywordtype">int</span> <a class="code" href="_enseignant_8c.html#a5babf2869108036ac9f42b8a699d1b7f" title="modifier Ens dans un fichier binaire.">mdfEnsParCode</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numEns, <span class="keyword">const</span> <a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> *pEns);
<a name="l00293"></a>00293 
<a name="l00300"></a>00300 <span class="keywordtype">void</span> <a class="code" href="_enseignant_8c.html#a7d92fd49e708848eb3f9ffe3dcbb140a" title="Afficher base de donnee de Ens .">affEns_DB</a>();
<a name="l00301"></a>00301 
<a name="l00306"></a>00306 <span class="keywordtype">void</span> <a class="code" href="_enseignant_8c.html#a1d6be8a4e57559f268e98efdaba5420d" title="Test le module Ens.">regEns</a>();
<a name="l00307"></a>00307 
<a name="l00308"></a>00308 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_enseignant_8h.html">Enseignant.h</a>      </li>
      <li class="footer">Généré le Thu Jun 7 2012 17:01:10 pour Gestion_Des_Inscriptions_Universitaires par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
